package Month09.day0919.CSDN;

public class Square extends Rectangle{
    public int lenth;

    public Square(int lenth) {
        super(lenth, lenth);
        this.lenth = lenth;
    }
    public void GetArea(){
        System.out.println(lenth*lenth);
    }
}
